package cn.six1943.deepchat.module.ai.controller.admin.umodel.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "用户 APP - 提供商新增/修改 Request VO")
@Data
public class AppProviderInstUpdateReqVO {

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "服务商id", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "服务商不能为空")
    private Long providerId;

    @Schema(description = "服务商api类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "服务商api类型不能为空")
    private String providerType;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "图标")
    private String avatar;

    @Schema(description = "base_url", example = "https://www.iocoder.cn")
    private String baseUrl;

    @Schema(description = "api_version")
    private String apiVersion;

    @Schema(description = "api_region")
    private String apiRegion;

    @Schema(description = "api_sk")
    private String apiSk;

    @Schema(description = "api_ak", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "api_ak不能为空")
    private String apiAk;

}